package lab02.Test05;

/**
 * Created by lady on 2017/10/14.
 */
public class Cubic {
    //属性:立方体的长、宽和高、初始化、
    float length;
    float width;
    float height;

    //构造函数
    Cubic(  float length,float width,float height){
    }
    //行为：体积
    float volume(){
        return length*width*height;
    }
}
